export default [
    {
        path: '/footer',
        name: 'footer',
        component: () => import('../views/Footer.vue'),
        children: [
            {
                path: '/footer/home',
                name: 'home',
                meta: { title: '首页' },
                component: () => import('../views/Footer/Home.vue')
            },
            {
                path: '/footer/host',
                name: 'host',
                meta: { title: '首页' },
                component: () => import('../views/Footer/Host.vue')
            },
            {
                path: '/footer/Tuan',
                name: 'tuan',
                meta: { title: '爆爆团' },
                component: () => import('../views/Footer/Tuan.vue')
            },
            {
                path: '/footer/list',
                name: 'list',
                meta: { title: '列表' },
                component: () => import('../views/Footer/List.vue')
            },
            {
                path: '/footer',
                redirect: '/footer/host'
            },
            {
                path: '/index/:error(.*)',
                component: () => import('../views/NotFound.vue')
            }
        ]
    },
    {
        path: '/',
        redirect: '/footer'
    },
    {
        path: '/:error(.*)', //必须写成 正则的语法
        component: () => import('../views/NotFound.vue')
    }
]